package model
{
	[RemoteClass(alias="model.Jour")]
	[Bindable] 
	public class Jour
	{
		private var m_id_jour			:Number;
		private var m_jour				:String = "";
		private var m_id_semaine		:Number;
		private var m_aSemaine			:Semaine;
		private var m_collSeances		:Array;
		private var m_collPeriodes		:Array;
		private var m_ferie				:Number; //1 -> Ferié, 0 -> Boulot
				
		public function Jour()
		{
		}
		
		public function get id_jour():Number{
			return m_id_jour;
		}
		
		public function set id_jour(value:Number):void{
			m_id_jour = value;
		}
		
		public function get jour():String{
			return m_jour;
		}
		
		public function set jour(value:String):void{
			m_jour = value;
		}
		
		public function get id_semaine():Number{
			return m_id_semaine;
		}
		
		public function set id_semaine(value:Number):void{
			m_id_semaine = value;
		}
		
		public function get aSemaine():Semaine{
			return m_aSemaine;
		}
		
		public function set aSemaine(value:Semaine):void{
			m_aSemaine = value;
		}
		
		public function get collSeances():Array{
			return m_collSeances;
		}
		
		public function set collSeances(value:Array):void{
			m_collSeances = value;
		}
		
		public function get collPeriodes():Array{
			return m_collPeriodes;
		}
		
		public function set collPeriodes(value:Array):void{
			m_collPeriodes = value;
		}
		
		public function get ferie():Number{
			return m_ferie;
		}
		
		public function set ferie(value:Number):void{
			m_ferie = value;
		}
		
		public function get dateToCompare():Date
		{
			return new Date(m_jour);
		}
	}
}